package com.wx.gof.pattern.behavioral.mediation;

/**
 * @ClassName AbstractColleague
 * @Author wx
 * @Description 同事类抽象
 * @Date 2018-12-14-23:51
 */
public abstract class AbstractColleague {
    protected int number;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    /**
     * @methodName: setNumber
     * @author: wx
     * @description: 改变对象方法
     * @param number 数值
     * @param am     中介者
     * @date: 2018/12/14
     * @return: void
     */
    public abstract void setNumber(int number, AbstractMediator am);

}
